/* 学生仪表盘CSS样式 */

/* 基本样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f8fa;
}

.navbar-brand {
    font-weight: bold;
}

/* 卡片样式 */
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}

/* 学生信息样式 */
.info-item {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.info-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* 学科进度条样式 */
.subject-progress-item {
    margin-bottom: 15px;
}

.subject-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.progress {
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 20px;
}

/* 统计数据样式 */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-item {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.stats-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007bff;
}

.stats-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 知识点掌握情况样式 */
.knowledge-point-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.kp-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.kp-subject {
    font-weight: 600;
    color: #6c757d;
}

.kp-name {
    font-weight: 600;
}

/* 练习题目样式 */
.exercise-item {
    margin-bottom: 20px;
}

.exercise-content {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.form-check {
    margin-bottom: 10px;
}

.practice-session-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.session-timer {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff;
}

.session-progress {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 错题本样式 */
.mistakes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mistake-item .card-header {
    position: relative;
}

.remove-mistake-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.mistake-answer {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.mistake-student-answer .answer-content {
    color: #dc3545;
}

.mistake-correct-answer .answer-content {
    color: #28a745;
}

.mistake-analysis {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

/* 能力评估样式 */
.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.assessment-radar-chart {
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.assessment-details {
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* AI助手对话框样式 */
.ai-loading {
    padding: 40px 0;
}

.ai-response {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
}

/* 练习结果样式 */
.result-statistics {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #007bff;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.analysis-content {
    line-height: 1.6;
}

/* 消息提示样式 */
.message-alert {
    margin-bottom: 15px;
}

/* 无数据提示样式 */
.no-data {
    padding: 40px 0;
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    background-color: #f8f9fa;
    border-radius: 6px;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .practice-session-info {
        flex-direction: column;
    }
    
    .stats-item {
        flex: 1 1 100%;
    }
    
    .stat-item {
        margin-bottom: 15px;
    }
}

/* 徽章样式 */
.badge {
    font-size: 85%;
    font-weight: 600;
    padding: 0.35em 0.65em;
}

/* 按钮样式 */
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
} 